<?php
    
    namespace App\Module\Api\Validator;
    use App\System\Base\Validator\BaseValidator;

    /**
     * 定义验证器类
     * @author liujun
     */
    class DeleteActionValidator extends BaseValidator
    {
        protected $rules = [
            'q.a' => 'required|integer|between:1,3',
            'q.ids' => 'required|array',
        ];
        
        protected $messages = [

        ];

        protected $attributes = [
            'q.a' => '请求类型',
            'q.ids' => 'IDS',
        ];
    }